package com.weme.live.viewmode

import com.weme.common.base.BaseViewModel
import com.weme.common.network.NetWorkUrl
import dev.kratos.api.im_server.v1.GetCallRecordRequest
import dev.kratos.api.user_server.v1.CheckBlackRequest

class HistorViewMode : BaseViewModel(){


    fun getCallRecord(page:Int,type :Int) {
        sendImNetworkRequest(GetCallRecordRequest.newBuilder().setPage(page).setPageSize(20).setType(type).build().toByteArray(), NetWorkUrl.GetCallRecord)
    }
    fun getCallRecordMissed(page:Int,type :Int) {
        sendImNetworkRequest(GetCallRecordRequest.newBuilder().setPage(page).setPageSize(20).setType(type).build().toByteArray(), NetWorkUrl.GetCallRecordMissed)
    }
    fun getCallRecordMatch(page:Int,type :Int) {
        sendImNetworkRequest(GetCallRecordRequest.newBuilder().setPage(page).setPageSize(20).setType(type).build().toByteArray(), NetWorkUrl.GetCallRecordMatch)
    }


}